package com.gxa.mapper.community;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.dto.communitydto.HouseNameDto;
import com.gxa.dto.communitydto.HouseOwnerDto;
import com.gxa.entity.community.Community;
import com.gxa.entity.community.House;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Mapper
public interface HouseMapper extends BaseMapper<House> {

    List<HouseOwnerDto> queryByHouseId(String houseNum);

    List<HouseNameDto> queryHouseName();

    //判断是否重复
    List<House> queryByNum(@Param("house_num") String houseNum);
}
